home *** CD-ROM | disk | FTP | other *** search
/ Cinema Studio: Frank Herrmann / Cinema Studio - Frank Herrmann.iso / tools / pbm / bin / pbmgui.config < prev    next >
Text File  |  1994-02-09  |  38KB  |  1,593 lines

  1. * $VER: PBMGui.config 1.0 (9.2.94)
  2. *
  3. * 0.6   Correct pnmnlfilt following space
  4. * 0.7   Correct ppmpat
  5. * 1.0   1st version on Aminet
  6. *
  7. * PBM_GUI Config file
  8. *
  9. * This file contains all of the NETPBM commands
  10. * plus a few other I had lying about
  11. * mark@topic.demon.co.uk
  12. * mpaddock@cix.compulink.co.uk
  13. *
  14. * This file is Public Domain
  15. *
  16. * It probably contains lots of bugs!
  17. *
  18. * format of file is briefly:
  19. *
  20. * * comment                      Comment line
  21. * =LOAD                          Heading of column (LOAD|PROCESS|SAVE|MISC)
  22. * "command " etc.
  23. *        etc.                    Command (etc. is ignored)
  24. *  "Comment"                     Comment to display
  25. *  "Title"                       Title for list view
  26. *  GADGET "Title":"prefix"       Gadget - "Title" is gadget title, "prefix" appears on command line
  27. *
  28. *  LFILE "Title":"prefix"        Input file string and request - Set up on Process/Save/Misc)
  29. *  SFILE "Title":"prefix"        Output file string and gadget - Set up on Load/Process/Misc)
  30. *  FILE "T":"P":"def"            File string and request
  31. *  OFILE "T":"P":"def":Y/N       Optional file (has checkbox)
  32. *  ONUMBER "T":"P":"def":Y/N     Optional number (has checkbox)
  33. *  NUMBER                        number
  34. *  CYCLE "Title"                 Cycle gadget, each entry followed by other gadgets
  35. *        "value1":"Prefix1"
  36. *        "value2":"Prefix2"
  37. *     gadgets                    Only active when item is 2
  38. *        "value3":"Prefix3"
  39. *  ENDCYCLE:"number"             and finished by default value.
  40. *  STRING                        String - used for floating point as well
  41. *  OSTRING                       String with checkbox
  42. *  CHECK "T":"P":Y/N             default values
  43.  
  44.  
  45. =LOAD
  46. " " PBM header
  47.    ""
  48.    "----PBM----"
  49.  
  50. "aktopbm " [atkfile]
  51.    "Convert Andrew Toolkit raster to PBM"
  52.    "Andrew Toolkit"
  53.    LFILE "Input":""
  54.    SFILE "Output":">"
  55.  
  56. "ybmtopbm " [facefile]
  57.    "Convert Bennet Yee face file to PBM"
  58.    "Bennet Yee face"
  59.    LFILE "Input":""
  60.    SFILE "Output":">"
  61.  
  62. "cmuwmtopbm " [bmpfile]
  63.    "Convert CMU window manager bitmap to PBM"
  64.    "CMU window manager"
  65.    LFILE "Input":""
  66.    SFILE "Output":">"
  67.  
  68. "g3topbm " [-kludge] [-reversebits] [-stretch] [g3file]
  69.    "Convert Group 3 fax to PBM"
  70.    "Fax (Group 3)"
  71.    CHECK "Kludge":"-kludge":N
  72.    CHECK "ReverseBits":"-reversebits":N
  73.    CHECK "Stretch":"-stretch":N
  74.    LFILE "Input":""
  75.    SFILE "Output":">"
  76.  
  77. "gemtopbm " [-d] gemfile
  78.    "Convert GEM .img to PBM"
  79.    "GEM .img"
  80.    CHECK "Describe":"-d":N
  81.    LFILE "Input":""
  82.    SFILE "Output":">"
  83.  
  84. "macpttopbm " [-extraskip N] [macpfile]
  85.    "Convert MacPaint to PBM"
  86.    "MacPaint"
  87.    ONUMBER "ExtraSkip":"-extraskip":"128":N
  88.    LFILE "Input":""
  89.    SFILE "Output":">"
  90.  
  91. "mgrtopbm " [mgrfile]
  92.    "Convert MGR bitmap to PBM"
  93.    "MGR"
  94.    LFILE "Input":""
  95.    SFILE "Output":">"
  96.  
  97. "pi3topbm " [pi3file]
  98.    "Convert Atari Degas .pi3 to PBM"
  99.    "pi3"
  100.    LFILE "Input":""
  101.    SFILE "Output":">"
  102.  
  103. "icontopbm " [iconfile]
  104.    "Convert Sun icon to PBM"
  105.    "Sun icon"
  106.    LFILE "Input":""
  107.    SFILE "Output":">"
  108.  
  109. "texttopbm " [-font fontfile] [text]
  110.    "Convert Text icon to PBM"
  111.    "Text"
  112.    CYCLE "Input"
  113.          "File":""
  114.       LFILE "InputFile":"<":"CONSOLE:"
  115.          "Text":""
  116.       STRING "Text":""
  117.    ENDCYCLE:"1"
  118.    SFILE "Output":">"
  119.  
  120. "pktopbm " pkfile[.pk] [-c num] pbmfile...
  121.    "Convert Packed TEX font file to PBM"
  122.    "TEX font"
  123.    LFILE "Input":""
  124.    ONUMBER "Character":"-c ":"0":N
  125.    SFILE "Output":""
  126.  
  127. "pbmupc " [-s1|-s2] type manufac product
  128.    "Create UPC PBM"
  129.    "UPC"
  130.    CYCLE "Mode"
  131.       "S1":"-s1"
  132.       "S2":"-s2"
  133.    ENDCYCLE:"0"
  134.    NUMBER "Type":"":"0"
  135.    NUMBER "Manufacturer":"":"00000"
  136.    NUMBER "Product":"":"00000"
  137.    SFILE "Output":">"
  138.  
  139. "brushtopbm " [brushfile]
  140.    "Convert Xerox doodle brush file to PBM"
  141.    "Xerox doodle brush"
  142.    LFILE "Input":""
  143.    SFILE "Output":">"
  144.  
  145. "xbmtopbm " [bitmapfile]
  146.    "Convert X10/X11 bitmap to PBM"
  147.    "X10/X11"
  148.    LFILE "Input":""
  149.    SFILE "Output":">"
  150.  
  151. "pbmmake " [-white|-black|-grey] width height
  152.    "Create a bitmap"
  153.    "Create PBM"
  154.    CYCLE "Colour"
  155.       "White":"-white"
  156.       "Black":"-black"
  157.       "Gray":"-gray"
  158.    ENDCYCLE:"0"
  159.    NUMBER:"Width":"320"
  160.    NUMBER:"Height":"256"
  161.    SFILE "Output":">"
  162.  
  163. " " PGM header
  164.    ""
  165.    "----PGM----"
  166.  
  167. "bioradtopgm " [-image#] [imagedata]
  168.    "Convert Biorad confocal to PGM"
  169.    "Biorad"
  170.    ONUMBER "Image":"":"0":N
  171.    LFILE "Input":""
  172.    SFILE "Output":">"
  173.  
  174. "fitstopgm " [-image N] [FITSfile]
  175.    "Convert FITS to PGM"
  176.    "FITS"
  177.    ONUMBER "Image":"-image ":"0":N
  178.    LFILE "Input":""
  179.    SFILE "Output":">"
  180.  
  181. "fstopgm " [fsfile]
  182.    "Convert Usenix FaceSaver to PGM"
  183.    "FaceSaver"
  184.    LFILE "Input":""
  185.    SFILE "Output":">"
  186.  
  187. "hipstopgm " [fsfile]
  188.    "Convert HIPS to PGM"
  189.    "HIPS"
  190.    LFILE "Input":""
  191.    SFILE "Output":">"
  192.  
  193. "listpmtopgm " [listpmfile]
  194.    "Convert List Machine bitmap to PGM"
  195.    "Lisp Machine"
  196.    LFILE "Input":""
  197.    SFILE "Output":">"
  198.  
  199. "psidtopgm " width height bits/sample [imagedate]
  200.    "Convert PostScript 'image' data to PGM"
  201.    "PostScript"
  202.    NUMBER "Width":"":"256"
  203.    NUMBER "Height":"":"256"
  204.    NUMBER "Bit/sample":"":"1"
  205.    LFILE "Input":""
  206.    SFILE "Output":">"
  207.  
  208. "rawtopgm " [-headerskip N] [-rowskip N]
  209.          [-tb|-topbottom] [width height] [imagedata]
  210.    "Convert raw grey to PPM"
  211.    "RAW grey"
  212.    ONUMBER "Skipheader":"-skipheader ":"0":N
  213.    OSTRING "Rowskip":"-rowskip ":"0":N
  214.    CHECK "Bottom-Top":"-tb":N
  215.    ONUMBER "Width":"":"256":N
  216.    ONUMBER "Height":"":"256":N
  217.    LFILE "Input":""
  218.    SFILE "Output":">"
  219.  
  220. "spottopgm " [-1|2|3] [firstcol firstline lastcol lastline] inputfile
  221.    "Convert SPOT Satellite to PGM"
  222.    "SPOT"
  223.    CYCLE "Colour"
  224.       "1":"-1"
  225.       "2":"-2"
  226.       "3":"-3"
  227.    ENDCYCLE:"0"
  228.    CYCLE "Whole Image"
  229.       "Yes":""
  230.       "No":""
  231.       NUMBER "Firstcol":"":"0"
  232.       NUMBER "Firstline":"":"0"
  233.       NUMBER "lastcol":"":"3000"
  234.       NUMBER "lastline":"":"3000"
  235.    ENDCYCLE:"0"
  236.    LFILE "Input":""
  237.    SFILE "Output":">"
  238.  
  239. "pgmcrater " [-number n] [-height|-ysize s] [-width|-xsize s] [-gamma g]
  240.    "Create cratered terrain"
  241.    "Create Crater"
  242.    NUMBER "Number":"-number ":"50000"
  243.    NUMBER "Height":"-height ":"256"
  244.    NUMBER "Width":"-width ":"256"
  245.    STRING "Gamma":"-gamma ":"1.0"
  246.    SFILE "Output":">"
  247.  
  248. "pgmramp " -lr|-tb | -rectangle|-ellipse width height
  249.    "Create grayscale ramp"
  250.    "Create greyscale"
  251.    CYCLE "Mode"
  252.       "Left-Right":"-lr"
  253.       "Top-Bottom":"-tb"
  254.       "Rectangle":"-rectangle"
  255.       "Ellipse":"-ellipse"
  256.    ENDCYCLE:"0"
  257.    NUMBER "Width":"":"256"
  258.    NUMBER "Height":"":"256"
  259.    SFILE "Output":">"
  260.  
  261. " " PPM header
  262.    ""
  263.    "----PPM----"
  264.  
  265. "bmptoppm " [bmpfile]
  266.    "Convert BMP file to PPM"
  267.    "BMP"
  268.    LFILE "Input":""
  269.    SFILE "Output":">"
  270.  
  271. "giftoppm " [-verbose] [-comments] [-image N] [GIFfile]
  272.    "Convert GIF file to PPM"
  273.    "GIF"
  274.    CHECK "Verbose":"-verbose":N
  275.    CHECK "Comments":"-comments":N
  276.    ONUMBER "Image":"-image ":"0":N
  277.    LFILE "Input":""
  278.    SFILE "Output":">"
  279.  
  280. "gouldtoppm " [gouldfile]
  281.    "Convert Gould scanner file to PPM"
  282.    "Gould"
  283.    LFILE "Input":""
  284.    SFILE "Output":">"
  285.  
  286. "ilbmtoppm " [-verbose] ILBMfile
  287.    "Convert ILBM file to PPM"
  288.    "ILBM"
  289.    CHECK "Verbose":"-verbose":N
  290.    LFILE "Input":""
  291.    SFILE "Output":">"
  292.  
  293. "imgtoppm " [imgfile]
  294.    "Convert Img-whatnot file to PPM"
  295.    "Img"
  296.    LFILE "Input":""
  297.    SFILE "Output":">"
  298.  
  299. "mtvtoppm " [mtvfile]
  300.    "Convert MTV or PRT file to PPM"
  301.    "MTV/PRT"
  302.    LFILE "Input":""
  303.    SFILE "Output":">"
  304.  
  305. "pjtoppm " [paintjet]
  306.    "Convert HP PaintJet file to PPM"
  307.    "Paintjet (HP)"
  308.    LFILE "Input":""
  309.    SFILE "Output":">"
  310.  
  311. "pcxtoppm " [pcxfile]
  312.    "Convert PCX file to PPM"
  313.    "PCX"
  314.    LFILE "Input":""
  315.    SFILE "Output":">"
  316.  
  317. "pi1toppm " [pi1file]
  318.    "Convert Atari Degas .pi1 to PPM"
  319.    "pi1 (Degas)"
  320.    LFILE "Input":""
  321.    SFILE "Output":">"
  322.  
  323. "picttoppm " [-verbose] [-fullres] [-noheader] [pictfile]
  324.    "Convert Macintosh PICT to PPM"
  325.    "PICT"
  326.    CHECK "Verbose":"-verbose":N  
  327.    CHECK "Full Res.":"-fullres":Y
  328.    CHECK "No Header":"-noheader":N
  329.    LFILE "Input":""
  330.    SFILE "Output":">"
  331.  
  332. "qrttoppm " [qrtfile]
  333.    "Convert QRT to PPM"
  334.    "QRT"
  335.    LFILE "Input":""
  336.    SFILE "Output":">"
  337.  
  338. "rawtoppm " [-headerskip N] [-rowskip N] [-rgb|-rbg|-grb|-grb|-brg|-bgr]
  339.          [-interpixel|-interrow] width height [imagedata]
  340.    "Convert raw RGB to PPM"
  341.    "RAW RGB"
  342.    ONUMBER "Skipheader":"-skipheader ":"":N
  343.    ONUMBER "Rowskip":"-rowskip ":"":N
  344.    CYCLE "Mode"
  345.       "RGB":"-rgb"
  346.       "RBG":"-rbg"
  347.       "GRB":"-grb"
  348.       "GBR":"-gbr"
  349.       "BRG":"-brg"
  350.       "BGR":"-bgr"
  351.    ENDCYCLE:"0"
  352.    CYCLE "Interleave"
  353.       "Pixel":"-interpixel"
  354.       "Row":"-interrow"
  355.    ENDCYCLE:"0"
  356.    LFILE "Input":""
  357.    SFILE "Output":">"
  358.  
  359. "rgb3toppm " redpgmfile greenpgmfile bluepgmfile
  360.    "Convert R G B files to PPM"
  361.    "R G B"
  362.    LFILE "Red":""
  363.    LFILE "Green":""
  364.    LFILE "Blue":""
  365.    SFILE "Output":">"
  366.  
  367. "sldtoppm " [-adjust] [-dir] [-height|-ysize s] [-info] [-lib|-Lib name]
  368.       [-scale s] [-vernose] [-width|-xsize s] [slidefile]
  369.    "Convert AutoCAD slide to PPM"
  370.    "Slide"
  371.    CHECK "Adjust":"-adjust":N
  372.    CHECK "Dir":"-dir":N
  373.    ONUMBER "Height":"-height ":"256":N
  374.    CHECK "Info":"-info":N
  375.    OSTRING "lib":"-lib":"":N
  376.    OSTRING "Lib":"-Lib":"":N
  377.    OSTRING "Scale":"-scale":"1.0":N
  378.    CHECK "Verbose":"-verbose":N
  379.    ONUMBER "Width":"-width":"256":N
  380.  
  381. "spctoppm " [spcfile]
  382.    "Convert Atari uncompressed Spectrum to PPM"
  383.    "Spectrum uncomp."
  384.    LFILE "Input":""
  385.    SFILE "Output":">"
  386.  
  387. "sputoppm " [spcfile]
  388.    "Convert Atari uncompressed Spectrum to PPM"
  389.    "Spectrum comp."
  390.    LFILE "Input":""
  391.    SFILE "Output":">"
  392.  
  393. "tgatoppm " [-debug] [tgafile]
  394.    "Convert TrueVision Targa to PPM"
  395.    "Targa"
  396.    CHECK "Debug":"-debug":N
  397.    LFILE "Input":""
  398.    SFILE "Output":">"
  399.  
  400. "ximtoppm " [ximfile]
  401.    "Convert Xim to PPM"
  402.    "Xim"
  403.    LFILE "Input":""
  404.    SFILE "Output":">"
  405.  
  406. "xpmtoppm " [xpmfile]
  407.    "Convert X11 pixmap to PPM"
  408.    "X11 pixmap"
  409.    LFILE "Input":""
  410.    SFILE "Output":">"
  411.  
  412. "yuvsplittoppm " basename width height [-ccir601]
  413.    "Convert Y U V files to PPM"
  414.    "YUV Seperate(1)"
  415.    FILE "Basename":""
  416.    NUMBER "Width":"":"256"
  417.    NUMBER "Height":"":"256"
  418.    CHECK "CCIR601":"-ccir601":N
  419.    SFILE "Output":">"
  420.  
  421. "cyuvtoppm " infile outfile [-iw width] [-ih height] [-z suffix]* [-CCIR601]
  422.    "Convert Y U V files to PPM"
  423.    "YUV Seperate(2)"
  424.    FILE "Basename":""
  425.    ONUMBER "Width":"-iw ":"352":N
  426.    ONUMBER "Height":"-ih ":"240":N
  427.    OSTRING "YSuffix":"-z ":".Y":N
  428.    OSTRING "USuffix":"-z ":".U":N
  429.    OSTRING "VSuffix":"-z ":".V":N
  430.    CHECK "CCIR601":"-CCIR601":N
  431.    SFILE "Output":">"
  432.  
  433. "yuvtoppm " width height [imagedata]
  434.    "Convert Abekas YUV to PPM"
  435.    "YUV Abekas"
  436.    NUMBER "Width":"":"256"
  437.    NUMBER "Height":"":"256"
  438.    LFILE "Input":""
  439.    SFILE "Output":">"
  440.  
  441. "24toppm " [24file] [ppmfile] [LEAN]
  442.    "Convert 24 bit ILBM to PPM"
  443.    "24 bit ILBM"
  444.    LFILE "Input":""
  445.    SFILE "Output":""
  446.    CHECK "Lean":"LEAN":N
  447.  
  448. "ppmforge " [-clouds] [-night] [-dimension dimen] [-hour hour]
  449.          [-inclination|-tilt angle] [-mesh size] [-power factor]
  450.          [-glaciers level] [-ice level] [-saturation sat]
  451.          [-seed seed] [-stars fraction] [-xsize|-width width]
  452.          [-ysize|-height height]
  453.    "Generate random fractal"
  454.    "Create fractal"
  455.    CYCLE "Type"
  456.          "Clouds":"-clouds"
  457.          "Planet":""
  458.          "Night":"-night"
  459.    ENDCYCLE:"1"
  460.    OSTRING "Dimension":"-dimension ":"2.2":N
  461.    OSTRING "Glaciers":"-glaciers ":"0.75":N
  462.    OSTRING "Hour":"-hour ":"":N
  463.    OSTRING "Ice":"-ice ":"0.4":N
  464.    OSTRING "Inclination":"-tilt ":"":N
  465.    ONUMBER "Mesh":"-mesh ":"256":N
  466.    OSTRING "Power":"-power ":"1.0":N
  467.    ONUMBER "Saturation":"-saturation ":"125":N
  468.    ONUMBER "Seed":"-seed ":"":N
  469.    OSTRING "Stars":"-stars ":"100":N
  470.    ONUMBER "Width":"-width ":"256":N
  471.    ONUMBER "Height":"-height ":"256":N
  472.    SFILE "Output":">"
  473.  
  474. "ppmmake " color width height
  475.    "Create a pixmap"
  476.    "Create PPM"
  477.    STRING:"Colour":""
  478.    NUMBER:"Width":"320"
  479.    NUMBER:"Height":"256"
  480.    SFILE "Output":">"
  481.  
  482. "ppmpat " -gingham2|-g2|-gingham3|-g3|-madras|-tartan|-poles|-squig|-camo|-anticamo width height
  483.    "Produce patterned pixelmap"
  484.    "Create pattern"
  485.    CYCLE "Type"
  486.          "Gingham2":"-g2"
  487.          "Gingham3":"-g2"
  488.          "Madras":"-madras"
  489.          "Tartan":"-tartan"
  490.          "Poles":"-poles"
  491.          "Squig":"-squig"
  492.          "Camo":"-camo"
  493.          "Anticamo":"-anticamo"
  494.    ENDCYCLE:"0"
  495.    NUMBER "Width":"":"256"
  496.    NUMBER "Height":"":"256"
  497.    SFILE "Output":">"
  498.  
  499. " " PNM header
  500.    ""
  501.    "----PNM----"
  502.  
  503. "giftopnm " [-verbose] [-comments] [-image N] [GIFfile]
  504.    "Convert GIF file to PNM"
  505.    "GIF"
  506.    CHECK "Verbose":"-verbose":N
  507.    CHECK "Comments":"-comments":N
  508.    ONUMBER "Image":"-image ":"0":N
  509.    LFILE "Input":""
  510.    SFILE "Output":">"
  511.  
  512. "djpeg -pnm " [-colors N] [-gif] [-pnm] [-quantize N] [-targa] [-blocksmooth] [-grayscale]
  513.       [-nodither] [-onepass] [-maxmemory N] [-verbose|-debug] [inputfile]
  514.    "Convert JPEG to PNM"
  515.    "JPEG"
  516.    ONUMBER "Colours":"-colors ":"256"
  517.    CHECK "Block Smooth":"-blocksmooth":N
  518.    CHECK "Grey scale":"-greyscale":N
  519.    CHECK "No Dither":"-nodither":N
  520.    CHECK "One Pass":"-onepass":N
  521.    ONUMBER "Max Mem":"-maxmemory":"1000":N
  522.    CHECK "Verbose":"-verbose":N
  523.    LFILE "Input":""
  524.    SFILE "Output":">"
  525.  
  526. "sirtopnm " [sirfile]
  527.    "Convert Solitaire Image Recorder file to PNM"
  528.    "Solitaire"
  529.    LFILE "Input":""
  530.    SFILE "Output":">"
  531.  
  532. "rasttopnm " [rastfile]
  533.    "Convert Sun rasterfile to PNM"
  534.    "Sun raster"
  535.    LFILE "Input":""
  536.    SFILE "Output":">"
  537.  
  538. "tifftopnm " [-headerdump] tifffile
  539.    "Convert TIFF file to PNM"
  540.    "TIFF"
  541.    CHECK "Dump header":"-headerdump":N
  542.    LFILE "Input":""
  543.    SFILE "Output":">"
  544.  
  545. "xwdtopnm " [xwdfile]
  546.    "Convert X11/X10 Window Dump file to PNM"
  547.    "X10/11 window dump"
  548.    LFILE "Input":""
  549.    SFILE "Output":">"
  550.  
  551. "zeisstopnm " [-pgm|-ppm] [zeissfile]
  552.    "Convert Zeiss confocal file to PNM"
  553.    "Zeiss"
  554.    CYCLE "Mode"
  555.       "Normal":""
  556.       "PGM":"-pgm"
  557.       "PPM":"-ppm"
  558.    ENDCYCLE:"0"
  559.    LFILE "Input":""
  560.    SFILE "Output":">"
  561.  
  562. =PROCESS
  563.  
  564. " " PBM header
  565.    ""
  566.    "----PBM----"
  567.  
  568. "pbmtopgm " <width> <height> [pbmfile]
  569.    "Convert PBM to PGM"
  570.    "Convert to PGM"
  571.    NUMBER "Width":"":"1"
  572.    NUMBER "Height":"":"1"
  573.    LFILE "Input":""
  574.    SFILE "Output":">"
  575.  
  576. "pbmclean " [-connect] [pbmfile]
  577.    "Clean PBM"
  578.    "Clean"
  579.    ONUMBER "Connect":"-":1:N
  580.    LFILE "Input":""
  581.    SFILE "Output":">"
  582.  
  583. "pbmlife " [pbmfile]
  584.    "PBM life"
  585.    "life"
  586.    LFILE "Input":""
  587.    SFILE "Output":">"
  588.  
  589. "pbmmask " [-expand] [pbmfile]
  590.    "Mask PBM"
  591.    "Mask"
  592.    CHECK "Expand":"-expand":N
  593.    LFILE "Input":""
  594.    SFILE "Output":">"
  595.  
  596. "pbmpscale " N [pbmfile]
  597.    "Scale PBM"
  598.    "Scale"
  599.    NUMBER "Expand":"":"2"
  600.    LFILE "Input":""
  601.    SFILE "Output":">"
  602.  
  603. "pbmreduce " [-floyd|-fs|-threshold] [-value val] N [pbmfile]
  604.    "Reduce PBM"
  605.    "Reduce"
  606.    CYCLE "Method"
  607.       "Floyd":"-fs"
  608.       "Threshold":"-threshold"
  609.    ENDCYCLE:"0"
  610.    ONUMBER "Value":"0.5":N
  611.    NUMBER "Reduce":"":"2"
  612.    LFILE "Input":""
  613.    SFILE "Output":">"
  614.  
  615. " " PGM header
  616.    ""
  617.    "----PGM----"
  618.  
  619. "pgmtoppm " colorspec [pgmfile]
  620.          colorspec1-colorspec2 [pgmfile]
  621.          -map mapfile [pgmfile]
  622.    "Convert PGM file to PPM"
  623.    "Convert to PPM"
  624.    CYCLE "Mode"
  625.          "One Colour":""
  626.       STRING "Colourspec":"":""
  627.          "Two Colours":""
  628.       STRING "Colorspec1-2":"":""
  629.          "Map File":""
  630.       FILE "Map file":"-map "
  631.    ENDCYCLE:"0"
  632.    LFILE "Input":""
  633.    SFILE "Output":">"
  634.  
  635. "pgmbentley " [pgmfile]
  636.    "Bentleyize a PGM"
  637.    "Bentleyize"
  638.    LFILE "Input":""
  639.    SFILE "Output":">"
  640.  
  641. "pgmedge " [pgmfile]
  642.    "Edge-detect a PGM"
  643.    "Edge-detect"
  644.    LFILE "Input":""
  645.    SFILE "Output":">"
  646.  
  647. "pgmenhance " [-N] [pgmfile]
  648.    "edge-enhance a PGM"
  649.    "Enhance"
  650.    NUMBER "Level":"-":"9"
  651.    LFILE "Input":""
  652.    SFILE "Output":">"
  653.  
  654. "pgmnorm " [-bpercent N | -bvalue N] [-wpercent N | -wvalue N] [pgmfile]
  655.    "Normalise the contrast of PGM"
  656.    "Normalise PGM"
  657.    CYCLE "Black"
  658.       "Percent":"-bpercent"
  659.       NUMBER "Percent":"":"2"
  660.          "Value":"-bvalue"
  661.       NUMBER "Value":"":"10"
  662.    ENDCYCLE:"0"
  663.    CYCLE "White"
  664.       "Percent":"-wpercent"
  665.       NUMBER "Percent":"":"1"
  666.          "Value":"-wvalue"
  667.       NUMBER "Value":"":"245"
  668.    ENDCYCLE:"0"
  669.    LFILE "Input":""
  670.    SFILE "Output":">"
  671.  
  672. "pgmoil " [-n N] [pgmfile]
  673.    "Turn PGM to oil painting"
  674.    "Oil painting"
  675.    NUMBER "Area":"-n ":"3"
  676.    LFILE "Input":""
  677.    SFILE "Output":">"
  678.  
  679. "pgmtopbm " [-floyd|-fs|-threshold|-dither8|-d8|-cluster3|-c3|-cluster4|-c4|-cluster8|-c8]
  680.       [-value val] [pgmfile]
  681.    "Convert PGM to PBM"
  682.    "Convert to PBM"
  683.    CYCLE "Mode"
  684.       "Floyd":"-fs"
  685.          OSTRING "Value":"-value ":"0.5":N
  686.       "Threshold":"-threshold"
  687.          OSTRING "Value":"-value ":"0.5":N
  688.       "Dither 8":"-d8"
  689.       "Cluster 3":"-c3"
  690.       "Cluster 4":"-c4"
  691.       "Cluster 8":"-c8"
  692.    ENDCYCLE:"0"
  693.    LFILE "Input":""
  694.    SFILE "Output":">"
  695.  
  696. "pgmtoshd " [pgmfile]
  697.    "Convert PGM to AIMGA Composite PPM"
  698.    "AMIGA Composite"
  699.    LFILE "Input":"<"
  700.    SFILE "Output":">"
  701.  
  702. " " PPM header
  703.    ""
  704.    "----PPM----"
  705.  
  706. "ppmtopgm " [ppmfile]
  707.    "Convert PPM to PGM"
  708.    "Convert to PGM"
  709.    LFILE "Input":""
  710.    SFILE "Output":">"
  711.  
  712. "ppmbrighten " [-n] [-s <+- saturation>] [-v <+- value>] <ppmfile>
  713.    "Change Saturation and/or Value"
  714.    "Change S&V"
  715.    CHECK "Normalise":"-n":Y
  716.    ONUMBER "Saturation":"-s ":"0":N
  717.    ONUMBER "Value":"-v ":"0":N
  718.    LFILE "Input":""
  719.    SFILE "Output":">"
  720.  
  721. "ppmdist " [-intensity|-frequency] [ppmfile]
  722.    "Convert to simple greyscale"
  723.    "Simple greyscale"
  724.    CYCLE "Mode"
  725.          "Intensity":"-intensity"
  726.          "Frequency":"-frequency"
  727.    ENDCYCLE:"0"
  728.    LFILE "Input":""
  729.    SFILE "Output":">"
  730.  
  731. "ppmdither " [-dim dimension] [-red shades] [-green shades] [-blue shades] [ppmfile]
  732.    "Dither to reduce colours"
  733.    "Dither down"
  734.    NUMBER "Matrix size":"-dim ":"2"
  735.    NUMBER "Red":"-red ":"5"
  736.    NUMBER "Green":"-green ":"9"
  737.    NUMBER "Blue":"-blue ":"5"
  738.    LFILE "Input":""
  739.    SFILE "Output":">"
  740.  
  741. "ppmnorm " [-bpercent N | -bvalue N] [-wpercent N | -wvalue N] [ppmfile]
  742.    "Normalise the contrast of PPM"
  743.    "Normalise PPM"
  744.    CYCLE "Black"
  745.       "Percent":"-bpercent"
  746.       NUMBER "Percent":"":"2"
  747.          "Value":"-bvalue"
  748.       NUMBER "Value":"":"10"
  749.    ENDCYCLE:"0"
  750.    CYCLE "White"
  751.       "Percent":"-wpercent"
  752.       NUMBER "Percent":"":"1"
  753.          "Value":"-wvalue"
  754.       NUMBER "Value":"":"245"
  755.    ENDCYCLE:"0"
  756.    LFILE "Input":""
  757.    SFILE "Output":">"
  758.  
  759. "ppmquant " [-floyd|-fs] ncolors [ppmfile]
  760.          [-floyd|-fs] -map mapfile [ppmfile]
  761.    "Quantize colours"
  762.    "Quantize"
  763.    CYCLE "Mode"
  764.          "Number of Colours":""
  765.       NUMBER "Colours":"":"256"
  766.          "Map File":""
  767.       FILE "Map file":"-map ":""
  768.    ENDCYCLE:"0"
  769.    LFILE "Input":""
  770.    SFILE "Output":">"
  771.  
  772. "ppmqvga " [options] [input file]
  773.    "Quantize to 256 colours"
  774.    "Quantize256"
  775.    CHECK "Dither":"-d":N
  776.    CHECK "Quiet":"-q":N
  777.    CHECK "Verbose":"-v":N
  778.    LFILE "Input":""
  779.    SFILE "Output":">"
  780.  
  781. "ppmrelief " [ppmfile]
  782.    "Laplacian relief filter"
  783.    "Relief"
  784.    LFILE "Input":""
  785.    SFILE "Output":">"
  786.  
  787. " " PNM header
  788.    ""
  789.    "----PNM----"
  790.  
  791. "pnmarith " -add|-subtract|-multiply pnmfile1 pnmfile2
  792.    "Perform arithmetic on two PNM files"
  793.    "Arithmetic"
  794.    LFILE "Input":""
  795.    FILE "Second Input":"":""
  796.    SFILE "Output":">"
  797.  
  798. "pnmcomp " [-invert] [-xoffN] [-yoffN] [-alpha pgmfile] overlay [pnm-input] [pnm-output]
  799.    "Composite two PNM files"
  800.    "Composite"
  801.    CHECK "Invert":"-invert":N
  802.    ONUMBER "XOffset":"-xoff":"0":N
  803.    ONUMBER "YOffset":"-yoff":"0":N
  804.    OFILE "Alpha mask":"":N
  805.    FILE "Overlay":"":""
  806.    LFILE "Input":""
  807.    SFILE "Output":""
  808.  
  809. "pnmcat " [-white|-black] -leftright|-lr [-jtop|-jbottom] pnmfile ...
  810.          [-white|-black] -topbottom|-tb [-jleft|-jright] pnmfile ...
  811.    "Concatenate PNM files"
  812.    "Concatenate"
  813.    CYCLE "Space fill"
  814.       "Guess":""
  815.       "White":"-white"
  816.       "Black":"-black"
  817.    ENDCYCLE:"0"
  818.    CYCLE "Mode"
  819.       "Horizontal Centre":"-lr"
  820.       "Horizontal Top":"-lr -jtop"
  821.       "Horizontal Bottom":"-lr -jbottom"
  822.       "Vertical Centre":"-tb"
  823.       "Vertical Left":"-tb -jleft"
  824.       "Vertical Right":"-tb -jright"
  825.    ENDCYCLE:"0"
  826.    LFILE "Input1":""
  827.    FILE "Input2":""
  828.    FILE "Input3":""
  829.    FILE "Input4":""
  830.    FILE "Input5":""
  831.    FILE "Input6":""
  832.    FILE "Input7":""
  833.    FILE "Input8":""
  834.    FILE "Input9":""
  835.    SFILE "Output":">"
  836.  
  837. "pnmconvol " convolutionfile[pnmfile]
  838.    "General MxN convolution of PNM"
  839.    "Convolve"
  840.    FILE "Convolve":""
  841.    LFILE "Input":""
  842.    SFILE "Output":">"
  843.  
  844. "pnmcrop " [pnmfile]
  845.    "Crop borders from PNM file"
  846.    "Crop"
  847.    CYCLE "Background"
  848.          "Guess":""
  849.          "White":"-white"
  850.          "Black":"-black"
  851.    ENDCYCLE:"0"
  852.    CYCLE "Sides"
  853.          "All":""
  854.          "Specify":""
  855.       CHECK "Left":"-left":Y
  856.       CHECK "Right":"-right":Y
  857.       CHECK "Top":"-top":Y
  858.       CHECK "Bottom":"-bottom":Y
  859.    ENDCYCLE:"0"
  860.    LFILE "Input":""
  861.    SFILE "Output":">"
  862.  
  863. "pnmcut " x y width height [pnmfile]
  864.    "Cut out rectangle from PNM file"
  865.    "Cut"
  866.    NUMBER "X":"":"0"
  867.    NUMBER "Y":"":"0"
  868.    NUMBER "Width":"":"320"
  869.    NUMBER "Height":"":"256"
  870.    LFILE "Input":""
  871.    SFILE "Output":">"
  872.  
  873. "pnmdepth " [pnmfile]
  874.    "Change depth of PNM file"
  875.    "Depth"
  876.    NUMBER "New depth":"":"256"
  877.    LFILE "Input":""
  878.    SFILE "Output":">"
  879.  
  880. "pnmenlarge " [pnmfile]
  881.    "Enlarge PNM file"
  882.    "Enlarge"
  883.    NUMBER "Scale":"":"1"
  884.    LFILE "Input":""
  885.    SFILE "Output":">"
  886.  
  887. "pnmflip " [-leftright|-lr] [-topbottom|-tb] [-transpose|-xy]
  888.       [-rotate90|-r90|-ccw] [-rotate270|-r270|-cw] [-rotate180|-r180] [pnmfile]
  889.    "Flip PNM file"
  890.    "Flip"
  891.    CHECK "LeftRight":"-lr":N
  892.    CHECK "TopBottom":"-tb":N
  893.    CHECK "Transpose":"-xy":N
  894.    CHECK "Rotate90":"-r90":N
  895.    CHECK "Rotate270":"-r270":N
  896.    CHECK "Rotate180":"-r180":N
  897.    LFILE "Input":""
  898.    SFILE "Output":">"
  899.  
  900. "pnmgamma " value [pnmfile]
  901.          redvalue greenvalue bluevalue [pnmfile]
  902.    "Gamma correct PNM file"
  903.    "Gamma correct"
  904.    CYCLE "Mode"
  905.       "All colours":""
  906.          STRING "Value":"":"1.0"
  907.       "Seperate":""
  908.          STRING "Red":"":"1.0"
  909.          STRING "Gree":"":"1.0"
  910.          STRING "Blue":"":"1.0"
  911.    ENDCYCLE:"0"
  912.    LFILE "Input":""
  913.    SFILE "Output":">"
  914.  
  915. "pnminvert " [pnmfile]
  916.    "Invert PNM file"
  917.    "Invert"
  918.    LFILE "Input":""
  919.    SFILE "Output":">"
  920.  
  921. "pnmnlfilt " alpha radius [pnmfile]
  922.    "Non-linear filter PNM file"
  923.    "Non-linear filter"
  924.    STRING "Alpha":"":"0.0"
  925.    STRING "Radius":"":"0.3333"
  926.    LFILE "Input":""
  927.    SFILE "Output":">"
  928.  
  929. "pnmpad " [-white|-black] [-l#] [-r#] [-t#] [-b#] [pnmfile]
  930.    "Pad PNM file"
  931.    "Pad"
  932.    CHECK "White":"-white":N
  933.    ONUMBER "Left":"-l":"0"
  934.    ONUMBER "Right":"-r":"0"
  935.    ONUMBER "Top":"-t":"0"
  936.    ONUMBER "Bottom":"-b":"0"
  937.    LFILE "Input":""
  938.    SFILE "Output":">"
  939.  
  940. "pnmpaste " [-replace|-or|-and|-xor] frompnmfile x y [intopnmfile]
  941.    "Paste PNM file"
  942.    "Paste"
  943.    CYCLE "Mode"
  944.       "Replace":"-replace"
  945.       "Or":"-or"
  946.       "And":"-and"
  947.       "Xor":"-xor"
  948.    ENDCYCLE:"0"
  949.    FILE "Include":""
  950.    NUMBER "X":"":"0"
  951.    NUMBER "Y":"":"0"
  952.    LFILE "Input":""
  953.    SFILE "Output":">"
  954.  
  955. "pnmnoraw " [pnmfile]
  956.    "Convert to plain format"
  957.    "Plain"
  958.    LFILE "Input":""
  959.    SFILE "Output":">"
  960.  
  961. "pnmrotate " [-noantialias] angle [pnmfile]
  962.    "Rotate PNM file"
  963.    "Rotate"
  964.    CHECK "No anti-alias":"-noantialias":N
  965.    NUMBER "Angle":"":"0"
  966.    LFILE "Input":""
  967.    SFILE "Output":">"
  968.  
  969. "pnmscale " s [pnmfile]
  970.          -xsize|-width|-ysize|-height s [pnmfile]
  971.          -xscale|-yscale s [pnmfile]
  972.          -xscale|-xsize|-width s -yscale|-ysize|-height s [pnmfile]
  973.          -xysize x y [pnmfile]
  974.    "Scale PNM file"
  975.    "Scale"
  976.    CYCLE "Mode"
  977.       "Scale X and Y":""
  978.          STRING "factor":"":"1.0"
  979.       "Scale X or Y":""
  980.          ONUMBER "Width":"-width ":"320":Y
  981.          OSTRING "Xfactor":"-xscale ":"1.0":N
  982.          ONUMBER "Height":"-height ":"256":Y
  983.          OSTRING "Yfactor":"-yscale ":"1.0":N
  984.       "Keep Aspect":"-xysize"
  985.          STRING "XSize":"":"320"
  986.          STRING "YSize":"":"256"
  987.    ENDCYCLE:"0"
  988.    LFILE "Input":""
  989.    SFILE "Output":">"
  990.  
  991. "pnmshear " [-noantialias] angle [pnmfile]
  992.    "Shear PNM file"
  993.    "Shear"
  994.    CHECK "No anti-alias":"-noantialias":N
  995.    NUMBER "Angle":"":"0"
  996.    LFILE "Input":""
  997.    SFILE "Output":">"
  998.  
  999. "pnmtile " width height [pnmfile]
  1000.    "Tile PNM file"
  1001.    "Tile"
  1002.    NUMBER "Width":"":"320"
  1003.    NUMBER "Height":"":"256"
  1004.    LFILE "Input":""
  1005.    SFILE "Output":">"
  1006.  
  1007. =MISC
  1008.  
  1009. " " PBM header
  1010.    ""
  1011.    "----PBM----"
  1012.  
  1013. " " PGM header
  1014.    ""
  1015.    "----PGM----"
  1016.  
  1017. "pgmhist " [pgmfile]
  1018.    "Print histogram of PGM"
  1019.    "PGM Histogram"
  1020.    LFILE "Input":""
  1021.    FILE "Output":">":"CONSOLE:"
  1022.  
  1023. "pgmtexture " [-d d] [pgmfile]
  1024.    "Calculate features of PGM"
  1025.    "PGM Features"
  1026.    NUMBER "Distance":"-d ":1
  1027.    LFILE "Input":""
  1028.    FILE "Output":">":"CONSOLE:"
  1029.  
  1030. " " PPM header
  1031.    ""
  1032.    "----PPM----"
  1033.  
  1034. "ppmhist " [ppmfile]
  1035.    "Print histogram of PPM"
  1036.    "PPM Histogram"
  1037.    LFILE "Input":""
  1038.    FILE "Output":">":"CONSOLE:"
  1039.  
  1040. "ppmtomap " [-sort] [-square] [ppmfile]
  1041.    "Create colour map"
  1042.    "Colour map"
  1043.    CHECK "Sort":"-sort":N
  1044.    CHECK "Square":"-square":N
  1045.    LFILE "Input":""
  1046.    FILE "Output":">":""
  1047.  
  1048. "ppmtorgb3 " [ppmfile]
  1049.    "Convert PPM to 3 PGM RGB"
  1050.    "RGB3"
  1051.    FILE "Input":""
  1052.  
  1053. " " PNM header
  1054.    ""
  1055.    "----PNM----"
  1056.  
  1057. "pnmfile " [ppmfile]
  1058.    "Displays information"
  1059.    "Information"
  1060.    LFILE "Input":""
  1061.    FILE "Output":">":"CONSOLE:"
  1062.  
  1063. =SAVE
  1064.  
  1065. " " PBM header
  1066.    ""
  1067.    "----PBM----"
  1068.  
  1069. "pbmtoatk " [pbmfile]
  1070.    "Convert PBM to Andrew Toolkit"
  1071.    "Andrew Toolkit"
  1072.    LFILE "Input":""
  1073.    SFILE "Output":">"
  1074.  
  1075. "pbmtoascii " [-1x2|-2x4] [pbmfile]
  1076.    "Convert PBM to ASCII"
  1077.    "ASCII"
  1078.    CYCLE "Mode"
  1079.       "1x2":"-1x2"
  1080.       "2x4":"-2x4"
  1081.    ENDCYCLE:"0"
  1082.    LFILE "Input":""
  1083.    SFILE "Output":">"
  1084.  
  1085. "pbmtoybm " [pbmfile]
  1086.    "Convert PBM to Bennet Yee face"
  1087.    "Bennet Yee face"
  1088.    LFILE "Input":""
  1089.    SFILE "Output":">"
  1090.  
  1091. "pbmtobg " [rasterop] [x y] <pbmfile
  1092.    "Convert PBM to BitGraph graphics"
  1093.    "BitGraph graphics"
  1094.    OSTRING "Rasterop":"":N
  1095.    ONUMBER "X":"":"0":N
  1096.    ONUMBER "Y":"":"0":N
  1097.    LFILE "Input":"<"
  1098.    SFILE "Output":">"
  1099.  
  1100. "pbmtocmuwm " [pbmfile]
  1101.    "Convert PBM to CMU window manager"
  1102.    "CMY window manager"
  1103.    LFILE "Input":""
  1104.    SFILE "Output":">"
  1105.  
  1106. "pbmtoepsi " [-bbonly] [pbmfile]
  1107.    "Convert PBM to encapsulated Postscript"
  1108.    "EPS"
  1109.    CHECK "JustBound":"-bbonly":N
  1110.    LFILE "Input":""
  1111.    SFILE "Output":">"
  1112.  
  1113. "pbmtoepson " [pbmfile]
  1114.    "Convert PBM to Epson printer"
  1115.    "Epson printer"
  1116.    LFILE "Input":""
  1117.    SFILE "Output":">"
  1118.  
  1119. "pbmtog3 " [pbmfile]
  1120.    "Convert PBM to Group 3 fax"
  1121.    "FAX (Group 3)"
  1122.    LFILE "Input":""
  1123.    SFILE "Output":">"
  1124.  
  1125. "pbmtogem " [pbmfile]
  1126.    "Convert PBM to GEM .img"
  1127.    "GEM .img"
  1128.    LFILE "Input":""
  1129.    SFILE "Output":">"
  1130.  
  1131. "pbmto10x " [-h] [pbmfile]
  1132.    "Convert PBM to Gemini 10X printer"
  1133.    "Gemini 10X"
  1134.    CHECK "Hires":"-h":N
  1135.    LFILE "Input":""
  1136.    SFILE "Output":">"
  1137.  
  1138. "pbmtogo " [pbmfile]
  1139.    "Convert PBM to GraphOn graphics"
  1140.    "GraphOn"
  1141.    LFILE "Input":""
  1142.    SFILE "Output":">"
  1143.  
  1144. "pbmtolj " [-resolution N] [pbmfile]
  1145.    "Convert PBM to HP LaserJet"
  1146.    "HP LaserJet"
  1147.    ONUMBER "Resolution":"-resolution ":"75":N
  1148.    LFILE "Input":""
  1149.    SFILE "Output":">"
  1150.  
  1151. "pbmtomacp " [-l left] [-r right] [-b bottom] [-t top] [pbmfile]
  1152.    "Convert PBM to MacPaint"
  1153.    "MacPaint"
  1154.    ONUMBER "Left":"-l ":"0":N
  1155.    ONUMBER "Right":"-r ":"256":N
  1156.    ONUMBER "Bottom":"-b ":"256":N
  1157.    ONUMBER "Top":"-t ":"0":N
  1158.    LFILE "Input":""
  1159.    SFILE "Output":">"
  1160.  
  1161. "pbmtomgr " [pbmfile]
  1162.    "Convert PBM to MGR bitmap"
  1163.    "MGR bitmap"
  1164.    LFILE "Input":""
  1165.    SFILE "Output":">"
  1166.  
  1167. "pbmtopi3 " [pbmfile]
  1168.    "Convert PBM to Atari Degas .pi3"
  1169.    "pi3"
  1170.    LFILE "Input":""
  1171.    SFILE "Output":">"
  1172.  
  1173. "pbmtoplot " [pbmfile]
  1174.    "Convert PBM to Unix plot"
  1175.    "Plot"
  1176.    LFILE "Input":""
  1177.    SFILE "Output":">"
  1178.  
  1179. "pbmtolps " [-dpi n] [pbmfile]
  1180.    "Convert PBM to PostScript"
  1181.    "PostScript"
  1182.    ONUMBER "dpi":"-dpi ":"100":N
  1183.    LFILE "Input":""
  1184.    SFILE "Output":">"
  1185.  
  1186. "pbmtoptx " [pbmfile]
  1187.    "Convert PBM to Printronix printer"
  1188.    "Printronix"
  1189.    LFILE "Input":""
  1190.    SFILE "Output":">"
  1191.  
  1192. "pbmtoln03 " [-rtlbf] [ppmfile]
  1193.    "Convert PBM to DEC LN03+ sixel"
  1194.    "Sixel (PBM)"
  1195.    NUMBER "Left":"-l ":"0"
  1196.    NUMBER "Right":"-r ":"2400"
  1197.    NUMBER "Top":"-t ":"0"
  1198.    NUMBER "Bottom":"-b":"3400"
  1199.    NUMBER "Form Length":"-l ":"3400"
  1200.    LFILE "Input":""
  1201.    SFILE "Output":">"
  1202.  
  1203. "pbmtoicon " [pbmfile]
  1204.    "Convert PBM to Sun icon"
  1205.    "Sun icon"
  1206.    LFILE "Input":""
  1207.    SFILE "Output":">"
  1208.  
  1209. "pbmtopk " pkfile[.pk] tfmfile[.tfm] resolution [-s designsize] [-p num param...]
  1210.          [-C codingscheme] [-F family] [-f optfile] [-c num] [-W width] [-H height]
  1211.          [-D depth] [-I ital] [-h horiz] [-v vert] [-x xoff] [-y yoff] [pbmfile]...
  1212.    "Convert PBM to Packed (PK) TEX font"
  1213.    "TEX font"
  1214.    FILE ".pk file":"":""
  1215.    FILE ".tfm file":"":""
  1216.    NUMBER "Resolution":"":"300"
  1217.    ONUMBER "Design size":"-s ":"1":N
  1218.    OSTRING "Parameters":"-p ":"":N
  1219.    OSTRING "Coding Scheme":"-C ":"":N
  1220.    OSTRING "Family":"-F ":"":N
  1221.    OFILE "Options":"-f ":"":N
  1222.    ONUMBER "Character":"-c ":"0":N
  1223.    ONUMBER "Width":"-W ":"1":N
  1224.    ONUMBER "Height":"-H ":"1":N
  1225.    ONUMBER "Depth":"-D ":"1":N
  1226.    ONUMBER "Italic":"-I ":"1":N
  1227.    ONUMBER "Horiz":"-h ":"0":N
  1228.    ONUMBER "Vert":"-v ":"0":N
  1229.    ONUMBER "XOffset":"-x ":"0":N
  1230.    ONUMBER "YOffset":"-y ":"0":N
  1231.    LFILE "Input":""
  1232.  
  1233. "pbmtox10bm " [pbmfile]
  1234.    "Convert PBM to X10 bitmap"
  1235.    "X10"
  1236.    LFILE "Input":""
  1237.    SFILE "Output":">"
  1238.  
  1239. "pbmtoxbm " [pbmfile]
  1240.    "Convert PBM to X11 bitmap"
  1241.    "X11"
  1242.    LFILE "Input":""
  1243.    SFILE "Output":">"
  1244.  
  1245. "pbmtozinc " [pbmfile]
  1246.    "Convert PBM to Zinc bitmap"
  1247.    "Zinc"
  1248.    LFILE "Input":""
  1249.    SFILE "Output":">"
  1250.  
  1251. " " PGM header
  1252.    ""
  1253.    "----PGM----"
  1254.  
  1255. "pgmtofits " [pgmfile]
  1256.    "Convert PGM to FITS"
  1257.    "FITS"
  1258.    LFILE "Input":""
  1259.    SFILE "Output":">"
  1260.  
  1261. "pgmtofs " [pgmfile]
  1262.    "Convert PGM to Usenix FaceSaver"
  1263.    "FaceSaver"
  1264.    LFILE "Input":""
  1265.    SFILE "Output":">"
  1266.  
  1267. "pgmtolispm " [pgmfile]
  1268.    "Convert PGM to Lisp Machinge"
  1269.    "Lisp Machine"
  1270.    LFILE "Input":""
  1271.    SFILE "Output":">"
  1272.  
  1273. " " PPM header
  1274.    ""
  1275.    "----PPM----"
  1276.  
  1277. "ppmtoacad " [-dxb] [-poly] [-background colour] [-white]
  1278.          [-aspect ratio] [-8] [ppmfile]
  1279.    "Convert PPM to AutoCAD"
  1280.    "AutoCAD"
  1281.    CYCLE "Type"
  1282.          "dxb":"-dxb"
  1283.          "Normal":""
  1284.          "Poly":"-poly"
  1285.    ENDCYCLE:"1"
  1286.    ONUMBER "Background":"-background ":"0":N
  1287.    CHECK "White":"-white":N
  1288.    OSTRING "Aspect":"-aspect ":"1.0":N
  1289.    CHECK "8 Colour":"-8":N
  1290.  
  1291. "ppmtobmp " [-windows] [-os2] [ppmfile]
  1292.    "Convert PPM to BMP"
  1293.    "BMP"
  1294.    CYCLE "Type"
  1295.          "Windows":"-windows"
  1296.          "OS2":"-os2"
  1297.    ENDCYCLE:"1"
  1298.    LFILE "Input":""
  1299.    SFILE "Output":">"
  1300.  
  1301. "ppmtogif " [-interlace] [-sort] [-map mapfile] [ppmfile]
  1302.    "Convert PPM to GIF"
  1303.    "GIF"
  1304.    CHECK "Interlace":"-interlace":N
  1305.    CHECK "Sort":"-sort":N
  1306.    OFILE "Map file":"-map ":"":N
  1307.    LFILE "Input":""
  1308.    SFILE "Output":">"
  1309.  
  1310. "ppmtoicr " [-windowname name] [-expand expand] [-display display]
  1311.       [-rle] [ppmfile]
  1312.    "Convert PPM to NCSA ICR"
  1313.    "ICR"
  1314.    OSTRING "Window":"-windowname ":"":N
  1315.    ONUMBER "Expand":"-expand ":"1":N
  1316.    ONUMBER "Display":"-display ":"0":N
  1317.    CHECK "RLE":"-rle":N
  1318.    LFILE "Input":""
  1319.    SFILE "Output":">"
  1320.  
  1321. "ppmtoilbm " [-maxplanes|-mp N] [-fixplanes|-fp N] [-ham6|-ham8]
  1322.          [-dcbits|-dcplanes r g b] [-normal|-hamif|-hamforce -dcif|-dcforce|-cmaponly]
  1323.          [-ecs|-aga] [-mapppmfile] [ppmfile] (we do not support dcplanes)
  1324.    "Convert PPM to ILBM"
  1325.    "ILBM"
  1326.    ONUMBER "Max planes":"-mp ":"5":N
  1327.    CYCLE "Type"
  1328.          "Normal":"-normal"
  1329.       ONUMBER "Planes":"-fp ":"5":N
  1330.          "HAM6 if":"-hamif -hamplanes 6"
  1331.          "HAM6 force":"-hamforce -hamplanes 6"
  1332.          "HAM8 if":"-hamif -hamplanes 8"
  1333.          "HAM8 force":"-hamforce -hamplanes 8"
  1334.          "24bit if":"-24if"
  1335.          "24bit force":"-24force"
  1336.          "Direct if":"-dcif"
  1337.          "Direct force":"-dcforce"
  1338.    ENDCYCLE:"0"
  1339.    OFILE "Map file":"-map ":"":N
  1340.    CHECK "Only CMAP":"-cmaponly":N
  1341.    LFILE "Input":""
  1342.    SFILE "Output":">"
  1343.  
  1344. "ppmtomitsu " [-sharpness val] [-enlarge val] [-media string]
  1345.    [-copy val] [-dpi300] [-tiny] [ppmfile]
  1346.    "Convert PPM to Mitsubishi S340-10"
  1347.    "Mistubishi S340-10"
  1348.    ONUMBER "Sharpness":"-sharpness":"1":N
  1349.    NUMBER "Enlarge":"-enlarge":"1"
  1350.    OSTRING "Media":"-media":"":N
  1351.    NUMBER "Copies":"-copy":"1"
  1352.    CHECK "300 DPI":"-dpi300":N
  1353.    CHECK "Tiny":"-tiny":N
  1354.    LFILE "Input":""
  1355.    SFILE "Output":">"
  1356.  
  1357. "ppmtopcx " [ppmfile]
  1358.    "Convert PPM to PCX"
  1359.    "PCX"
  1360.    LFILE "Input":""
  1361.    SFILE "Output":">"
  1362.  
  1363. "ppmtopi1 " [ppmfile]
  1364.    "Convert PPM to Atari Degas .pi1"
  1365.    "pi1"
  1366.    LFILE "Input":""
  1367.    SFILE "Output":">"
  1368.  
  1369. "ppmtopict " [ppmfile]
  1370.    "Convert PPM to Macintosh PICT"
  1371.    "PICT"
  1372.    LFILE "Input":""
  1373.    SFILE "Output":">"
  1374.  
  1375. "ppmtopj " [-gamma val] [-xpos val] [-ypos val] [-back dark|lite] [-rle] [-center]
  1376.          [-render none|snap|bw|dither|diffuse|monodither|monodiffuse|clusterdither|monoclusterdither]
  1377.          [ppmfile]
  1378.    "Convert PPM to HP PaintJet"
  1379.    "HP PaintJet"
  1380.    NUMBER "Gamma":"-gamma ":"0"
  1381.    ONUMBER "Left":"-xpos":"0":N
  1382.    ONUMBER "Top":"-ypos":"0":N
  1383.    CYCLE "Enhance"
  1384.       "None":""
  1385.       "Back dark":"-back dark"
  1386.       "Back light":"-back light"
  1387.    ENDCYCLE:"0"
  1388.    CHECK "RLE":"-rle":N
  1389.    CHECK "Center":"-center":N
  1390.    CYCLE "Render algorithm"
  1391.       "None":"-render none"
  1392.       "Snap":"-render snap"
  1393.       "BW":"-render bw"
  1394.       "Dither":"-render dither"
  1395.       "Diffuse":"-render diffuse"
  1396.       "Monodither":"-render monodither"
  1397.       "Monodiffuse":"-render mondiffuse"
  1398.       "Clusterdither":"-render clusterdither"
  1399.       "Monoclusterdither":"-render monoclusterdither"
  1400.    ENDCYCLE:"3"
  1401.    LFILE "Input":""
  1402.    SFILE "Output":">"
  1403.  
  1404. "ppmtopjxl " [-nopack] [-gamma val] [-presentation] [-dark]
  1405.          [-diffuse] [-cluster] [-dither] [-xshift <s>] [-yshift <s>]
  1406.          [-xsize|-width|-xscale <s>] [-ysize|-height|-yscale <s>]
  1407.          [ppmfile]
  1408.    "Convert PPM to HP PaintJet XL"
  1409.    "HP PaintJet XL"
  1410.    CHECK "Do not pack":"-nopack":N
  1411.    OSTRING "Gamma":"-gamma":"1.0":N
  1412.    CYCLE "Dither"
  1413.       "None":""
  1414.       "Dither":"-dither"
  1415.       "Cluster":"-cluster"
  1416.       "Diffuse":"-diffuse"
  1417.    ENDCYCLE:"0"
  1418.    CHECK "Dark":"-dark":N
  1419.    OSTRING "Left":"-xshift":"":N
  1420.    OSTRING "Top":"-yshift":"":N
  1421.    CYCLE "Width"
  1422.          "Normal":""
  1423.          "Set":""
  1424.       STRING "Width":"-xsize":""
  1425.          "Scale":""
  1426.       STRING "XScale":"-xscale":""
  1427.    ENDCYCLE:"0"
  1428.    CYCLE "Height"
  1429.          "Normal":""
  1430.          "Set":""
  1431.       STRING "Height":"-ysize":""
  1432.          "Scale":""
  1433.       STRING "YScale":"-yscale":""
  1434.    ENDCYCLE:"0"
  1435.    LFILE "Input":""
  1436.    SFILE "Output":">"
  1437.  
  1438. "ppmtopuzz " [ppmfile]
  1439.    "Convert PPM to X11 puzzle"
  1440.    "Puzzle"
  1441.    LFILE "Input":""
  1442.    SFILE "Output":">"
  1443.  
  1444. "ppmtosixel " [-raw] [-margin] [ppmfile]
  1445.    "Convert PPM to DEC sixel"
  1446.    "Sixel (PPM)"
  1447.    CHECK "Raw":"-raw":N
  1448.    CHECK "Margin":"-margin":N
  1449.    LFILE "Input":""
  1450.    SFILE "Output":">"
  1451.  
  1452. "ppmtotga " [-mono|-cmap|-rgb] [-norle] [ppmfile]
  1453.    "Convert PPM to TrueVision Targa"
  1454.    "Targa"
  1455.    CYCLE "Type"
  1456.       "Normal":""
  1457.       "Mono":"-mono"
  1458.       "CMAP":"-cmap"
  1459.       "RGB":"-rgb"
  1460.    ENDCYCLE:"0"
  1461.    CHECK "No RLE":"-norle":N
  1462.    LFILE "Input":""
  1463.    SFILE "Output":">"
  1464.  
  1465. "ppmtouil " [-name uilname] [ppmfile]
  1466.    "Convert PPM to Motif UIL icon"
  1467.    "Motif UIL Icon"
  1468.    OSTRING "Name":"-name ":"":N
  1469.    LFILE "Input":""
  1470.    SFILE "Output":">"
  1471.  
  1472. "ppmtoxpm " [-name <xpmname>] [-rgb <rgb-textfile>] [<ppmfile>]
  1473.    "Convert PPM to X11 pixmap"
  1474.    "X11 pixmap"
  1475.    OSTRING "Name":"-name ":"":N
  1476.    OFILE "RGB":"-rgb ":"":N
  1477.    LFILE "Input":""
  1478.    SFILE "Output":">"
  1479.  
  1480. "ppmtoyuv " [ppmfile]
  1481.    "Convert PPM to Abekas YUV"
  1482.    "Abekas YUV"
  1483.    LFILE "Input":""
  1484.    SFILE "Output":">"
  1485.  
  1486. "ppmtoyuvsplit " basename [ppmfile]
  1487.    "Convert PPM to Y,U,V files"
  1488.    "YUV seperate(1)"
  1489.    LFILE "Input":""
  1490.    FILE "Basename":"":""
  1491.  
  1492. "ppm2cyuv " infile outfile [-z suffix]* [-CCIR601]
  1493.    "Convert PPM to Y U V files"
  1494.    "YUV Seperate(2)"
  1495.    LFILE "Input":""
  1496.    OSTRING "YSuffix":"-z ":".Y":N
  1497.    OSTRING "USuffix":"-z ":".U":N
  1498.    OSTRING "VSuffix":"-z ":".V":N
  1499.    CHECK "CCIR601":"-CCIR601":N
  1500.    FILE "Basename":""
  1501.  
  1502. "PPMto24 " <PPMfile> <24BitFile>
  1503.    "Convert PPM to 24 bit ILBM"
  1504.    "24 ILBM"
  1505.    LFILE "Input":""
  1506.    SFILE "Output":""
  1507.  
  1508. "PPMprev " <PPMfile> [Lace] [Small]
  1509.    "Preview PPM file"
  1510.    "Preview"
  1511.    LFILE "Input":""
  1512.    CHECK "Lace":"Lace":N
  1513.    CHECK "Small":"Small":N
  1514.  
  1515. " " PNM header
  1516.    ""
  1517.    "----PNM----"
  1518.  
  1519. "cjpeg " [-quality N] [-grayscale] [-optimize] [-targa] [-restart N]
  1520.       [-smooth N] [-maxmemory N] [-verbose] [-qtables file] [-sample Hxv[,...]] [inputfile]
  1521.    "Convert PNM to JPEG"
  1522.    "JPEG"
  1523.    ONUMBER "Quality ":"":"75"
  1524.    CHECK "Greyscale":"-greyscale":N
  1525.    CHECK "Optimize":"-optimize":N
  1526.    OSTRING "Restart":"-restart ":"10":N
  1527.    ONUMBER "Smooth":"-smooth ":"50":N
  1528.    ONUMBER "Max Mem":"-maxmemory ":"100":N
  1529.    CHECK "Verbose":"-verbose":N
  1530.    OFILE "Quant Table":"-qtables ":"":N
  1531.    OSTRING "Sample Factors":"-sample ":"":N
  1532.    LFILE "Input":""
  1533.    SFILE "Output":">"
  1534.  
  1535. "pnmtops " [-scale s] [-turn|-noturn] [-rle|-runlength] [-dpi n]
  1536.       [-width n] [-height n] [pnmfile]
  1537.    "Convert PNM to PostScript"
  1538.    "PostScript"
  1539.    OSTRING "Scale":"-scale ":"1.0":N
  1540.    CYCLE "Turn"
  1541.       "If required":""
  1542.       "Yes":"-turn"
  1543.       "No":"-noturn"
  1544.    ENDCYCLE:"0"
  1545.    CHECK "RLE":"-rle":N
  1546.    ONUMBER "DPI":"-dpi ":"300":N
  1547.    OSTRING "Width":"-width ":"8.5":N
  1548.    OSTRING "Height":"-height ":"11":N
  1549.    LFILE "Input":""
  1550.    SFILE "Output":">"
  1551.  
  1552. "pnmtosir " [pnmfile]
  1553.    "Convert PNM to Solitaire Image Recorder file"
  1554.    "Solitaire"
  1555.    LFILE "Input":""
  1556.    SFILE "Output":">"
  1557.  
  1558. "pnmtorast " [-standard|-rle] [pnmfile]
  1559.    "Convert PNM to Sun rasterfile"
  1560.    "Sun raster"
  1561.    CHECK "Standard":"-standard":N
  1562.    LFILE "Input":""
  1563.    SFILE "Output":">"
  1564.  
  1565. "pnmtotiff " [-none|-packbits|-lzw|-g3|-g4] [-2d] [-fill] [-predictor n]
  1566.          [-msb2lsb|-lsb2msb] [-rowsperstrip n] [pnmfile]
  1567.    "Convert PNM to TIFF"
  1568.    "TIFF"
  1569.    CYCLE "Pack mode"
  1570.       "None":"-none"
  1571.       "Bits":"-packbits"
  1572.       "LZW":"-lzw"
  1573.          ONUMBER "Predictor":"-predictor ":"1":N
  1574.       "Group 3":"-g3"
  1575.          CHECK "2d":"-2d":N
  1576.          CHECK "Fill":"-fill":N
  1577.       "Group 4":"-g4"
  1578.    ENDCYCLE:"2"
  1579.    CHECK "LSB to MSB":"-lsb2msb":N
  1580.    ONUMBER "Rows per strip":"-rowsperstrip ":"8":N
  1581.    LFILE "Input":""
  1582.    SFILE "Output":">"
  1583.  
  1584. "pnmtoxwd " [-pseudodepth n] [-directcolor] [pnmfile]
  1585.    "Convert PNM to X11 window dump"
  1586.    "X11 window dump"
  1587.    ONUMBER "Depth":"-pseudodepth ":"8":N
  1588.    CHECK "DirectColor":"-directcolor":N
  1589.    LFILE "Input":""
  1590.    SFILE "Output":">"
  1591.  
  1592.